package com.lib.model.dto;

import java.io.Serializable;
import java.sql.Date;

public class BookReservDto implements Serializable{
	private static final long serialVersionUID = 8958377853895349123L;
	
    private int rn;
	private String book_num;
	private String bookname;
	private String id;
	private String name;
	private String phonenum;
	private String email;
	private Date contactdate;
	private String rstate;
	private Date startdate;
	
	public BookReservDto() {}

	public BookReservDto(int rn, String book_num, String bookname, String id,
			String name, String phonenum, String email, Date contactdate,
			String rstate, Date startdate) {
		super();
		this.rn = rn;
		this.book_num = book_num;
		this.bookname = bookname;
		this.id = id;
		this.name = name;
		this.phonenum = phonenum;
		this.email = email;
		this.contactdate = contactdate;
		this.rstate = rstate;
		this.startdate = startdate;
	}

	public int getRn() {
		return rn;
	}

	public void setRn(int rn) {
		this.rn = rn;
	}

	public String getBook_num() {
		return book_num;
	}

	public void setBook_num(String book_num) {
		this.book_num = book_num;
	}

	public String getBookname() {
		return bookname;
	}

	public void setBookname(String bookname) {
		this.bookname = bookname;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhonenum() {
		return phonenum;
	}

	public void setPhonenum(String phonenum) {
		this.phonenum = phonenum;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Date getContactdate() {
		return contactdate;
	}

	public void setContactdate(Date contactdate) {
		this.contactdate = contactdate;
	}

	public String getRstate() {
		return rstate;
	}

	public void setRstate(String rstate) {
		this.rstate = rstate;
	}

	
	public Date getStartdate() {
		return startdate;
	}

	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}

	@Override
	public String toString() {
		return "BookReservDto [rn=" + rn + ", book_num=" + book_num
				+ ", bookname=" + bookname + ", id=" + id + ", name=" + name
				+ ", phonenum=" + phonenum + ", email=" + email
				+ ", contactdate=" + contactdate + ", rstate=" + rstate
				+ ", startdate=" + startdate + "]";
	}
	
	
	

}
